ReactOS  0.4.15-dev-1397-g19779b3
noreturn.cpp File Reference
#include <stdio.h>
Include dependency graph for noreturn.cpp:

Go to the source code of this file.

Classes

class  A< T1 >
 

Functions

 __declspec (noreturn) int bar(A)
 
void foo (const A &a, int i)
 
int main ()
 

Variables

int Count = 0
 

Function Documentation

◆ __declspec()

__declspec ( noreturn  )

Definition at line 19 of file noreturn.cpp.

21 {
22  throw 1;
23 }

◆ foo()

void foo ( const A a,
int  i 
)

Definition at line 31 of file noreturn.cpp.

32 {
33  A a1 = a;
34  bar(a1);
35 }
Definition: ehthrow.cxx:92
#define a
Definition: ke_i.h:78
void bar()
Definition: ehthrow.cxx:142
static const struct update_accum a1
Definition: msg.c:578

Referenced by main().

◆ main()

int main ( void  )

Definition at line 37 of file noreturn.cpp.

38 {
39  try {
40  A a;
41  foo(A(a), bar(a));
42  } catch (int i) {}
43 
44  try {
45  A a;
46  foo(foobar(), bar(a));
47  } catch (int i) {}
48 
49  if (Count == 0)
50  printf("Passed");
51  else
52  printf("FAILED\n");
53 
54 }
void foobar()
Definition: ehthrow.cxx:149
Definition: ehthrow.cxx:92
#define A(row, col)
#define a
Definition: ke_i.h:78
void bar()
Definition: ehthrow.cxx:142
int Count
Definition: noreturn.cpp:7
void foo(const A &a, int i)
Definition: noreturn.cpp:31
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define printf
Definition: config.h:203

Variable Documentation

◆ Count

_In_ WDFDEVICE _In_ WDF_DEVICE_HWACCESS_TARGET_TYPE _In_ WDF_DEVICE_HWACCESS_TARGET_SIZE _In_ PVOID _In_ SIZE_T _In_opt_ ULONG Count = 0

Definition at line 7 of file noreturn.cpp.

Referenced by $if(), __inbytestring(), __indwordstring(), __inwordstring(), __movsb(), __movsd(), __movsw(), __outbytestring(), __outdwordstring(), __outwordstring(), __RtlImageRvaToSection(), __stosb(), __stosd(), __stosw(), FxChildList::_ComputeRelationsSize(), FxRegisterResourceInfo::_CreateAndInit(), FxPortResourceInfo::_CreateAndInit(), ATL::CRegKey::_DoDeleteKeyTree(), _Success_(), _tmain(), A< T1 >::A(), A_SHAFinal(), ACPIEnumerateDevices(), AcpiExConvertToInteger(), AcpiExIntegerToString(), AcpiNsCheckPackage(), AcpiNsCheckPackageList(), AcpiNsConvertToBuffer(), AcpiNsCustomPackage(), AcpiNsRemoveElement(), AcpiNsRemoveNullElements(), AcpiNsSortList(), AcpiRsConvertAmlToResource(), AcpiRsConvertResourceToAml(), AcpiRsDumpDescriptor(), AcpiRsDumpIrqList(), AcpiRsDumpResourceList(), AcpiRsEncodeBitmask(), AcpiUtBoundStringLength(), AcpiUtCheckAndRepairAscii(), AcpiUtCreatePackageObject(), AcpiUtDebugDumpBuffer(), AcpiUtDumpBuffer(), AcpiUtExecute_CID(), AcpiUtExecute_CLS(), AcpiUtShortShiftLeft(), AcpiUtShortShiftRight(), AcquireReadLock(), AddDlg_OnInitDialog(), AddNewKbLayoutsByLcid(), AdjustBrightness(), AdjustContrast(), AfdEventReceiveDatagramHandler(), AllocateInterfaceDescriptorsArray(), ArcOpen(), ArcRead(), ARRAY_EnsureSize(), AtapiStringCmp(), AtapiSuckPortBuffer2(), AtapiZeroMemory(), AVrfpCountThunks(), BackupBootSector(), BiConvertBcdElements(), BiosMiscService(), BITMAP_GetObject(), BlGetBootOptionGuidList(), BlpGetBootOptionIntegerList(), BlpTimeMeasureTscFrequency(), BlTblFindEntry(), BlTblMap(), BlTblSetEntry(), BmGetBootSequence(), BmLaunchRecoverySequence(), BmpGetDefaultBootEntry(), BmpGetSelectedBootEntry(), BuildArgvForOsLoader(), Bus_PDO_EvalMethod(), CaptureGateOnWorkItem(), CcCopyWrite(), CcpCountCacheSections(), CcRosFreeUnusedVacb(), CcWriteBehind(), CdCleanupFileContext(), CdIs8dot3Name(), ChanMgrIsFull(), check_system_root(), CheckBuffer(), CheckPattern(), ChecksumCompute(), CheckVolume(), CmBattOpenClose(), CmpAddValueToList(), CmpCompareInIndex(), CmpDoFindSubKeyByNumber(), CmpRemoveSubKey(), CmpRemoveValueFromList(), CmSetValueKey(), ConvertCoffs(), ConvertLargeMCBToDataRuns(), ConvertStabs(), CopyPacketToBufferChain(), CountBTreeKeys(), CountHandlers(), CountInterfaces(), CpSetBaud(), CredEnumerateA(), CredEnumerateW(), CsrCaptureMessageMultiUnicodeStringsInPlace(), ddraw_surface7_BltBatch(), DECLARE_INTERFACE_(), DetectSerialPorts(), DGReceiveComplete(), DIB_16BPP_HLine(), DIB_24BPP_ColorFill(), DIB_24BPP_HLine(), disk_read(), DiskBootDriverReinit(), DiskDriverReinit(), DiskRead(), DispDataRequestComplete(), DisplayBlackAndWhite(), DisplayBlur(), DisplayInvertedColors(), DisplayPendingOps(), DisplaySharpness(), DnsAddrArray_Create(), DoExport(), DoHelpCommand(), DoLAYOUT(), DosFindDeviceDescriptor(), DosFindFreeDescriptor(), DosFindWin32Descriptor(), DosReadFile(), DosWriteFile(), DumpAllRuns(), EditDlg_OnInitDialog(), EmulatorReadIo(), EmulatorWriteIo(), EngQueryPerformanceCounter(), EnumDeviceDrivers(), EnumProcesses(), EnumProcessModules(), EnumPropsA(), EnumPropsExA(), EnumPropsExW(), EnumPropsW(), ExAllocateCacheAwareRundownProtection(), ExCompareExchangeCallBack(), ExfAcquireRundownProtectionCacheAwareEx(), ExfAcquireRundownProtectionEx(), ExfReleaseRundownProtectionCacheAwareEx(), ExfReleaseRundownProtectionEx(), ExfWaitForRundownProtectionRelease(), ExInitializeRundownProtectionCacheAware(), ExIsResourceAcquiredSharedLite(), ExpInitializeExecutive(), ExpLoadBootSymbols(), ExReferenceCallBackBlock(), ExReleaseResourceForThreadLite(), Ext2ExpandExtent(), Ext2FreeBlock(), Ext2GetBlock(), Ext2Mount(), Ext2NewBlock(), Ext2Read(), Ext2ReadSuperBlock(), Ext2ReadVolumeSectors(), FAST486_OPCODE_HANDLER(), Fast486RotateOperation(), FatFlushFatEntries(), FatMount(), FatRead(), FatReadVolumeSectors(), FFSGetFullFileName(), FFSReadWriteBlocks(), FFSZeroHoles(), FillPolygon(), FindCheckItem(), FindMatchingCreateItem(), FindModule(), FltpDetachFromFileSystemDevice(), FltRegisterFilter(), FsRtlLookupBaseMcbEntry(), FsRtlNumberOfRunsInBaseMcb(), FstubAdjustPartitionCount(), ftGdiGetKerningPairs(), GetFileSystemByName(), GetFontFamilyInfoForList(), GetLayoutCount(), GetLogicalPartitionCount(), GetPackageSize(), GetPrimaryPartitionCount(), GetSysAudioDeviceCount(), GetTextboxText(), gl_render_vb(), GreExtTextOutW(), GreGetKerningPairs(), GreGetTextExtentExW(), HalCalibratePerformanceCounter(), HaliReadMPConfigTable(), HalpCalibrateStallExecution(), HalpQueryAcpiResourceRequirements(), HalpReportResourceUsage(), HalReadDmaCounter(), HDA_SendVerbs(), HDA_TransferCodecVerbs(), HidParser_GetCollectionCount(), HTMLTxtRange_move(), HTMLTxtRange_moveEnd(), HTMLTxtRange_moveStart(), IKsFilter_fnRemoveProcessPin(), ILGetConnection(), implicit_handle(), InbvDriverInitialize(), InfOpenFile(), InfoTdiQueryListEntities(), IniFileInitialize(), CEnumIDList::Initialize(), CLanStatus::InitializeNetTaskbarNotifications(), InitOperatingSystemList(), InitPaletteWithTable(), IntCreateCompatibleBitmap(), IntExtTextOutW(), IntFillPolygon(), IntGdiGetFontResourceInfo(), IntGdiPolyBezier(), IntGdiPolyBezierTo(), IntGdiPolygon(), IntGdiPolyline(), IntGdiPolylineTo(), IntGdiPolyPolygon(), IntGdiPolyPolyline(), IntGetFontLocalizedName(), IntMultiByteToWideCharCP(), IntMultiByteToWideCharSYMBOL(), IntMultiByteToWideCharUTF8(), IntPolygon(), IntWideCharToMultiByteSYMBOL(), IoConnectInterrupt(), FxPowerIdleMachine::IoIncrementWithFlags(), IopSetServiceEnumData(), IOReadStrB(), IOReadStrD(), IOReadStrW(), IOWriteStrB(), IOWriteStrD(), IOWriteStrW(), IsoBufferDirectory(), IsoLookupFile(), IsoMount(), IsoRead(), IterateStabs(), KdbpCmdDisassembleX(), KdbpCmdStep(), KdbpSymFindModule(), KdbpSymSearchModuleList(), KdRosDumpStackFrames(), KeAddSystemServiceTable(), KeInitializeQueue(), KeInitializeSemaphore(), KeIpiGenericCall(), KePrintInterruptStatistic(), KeWaitForMultipleObjects(), KiScanReadyQueues(), KiSystemCallHandler(), KmtFilterRegisterCallbacks(), KsAllocateExtraData(), KsFilterAddTopologyConnections(), KsFilterCreatePinFactory(), KspCopyEventSets(), KspCopyMethodSets(), KspCopyPropertySets(), KspCountEventSets(), KspCountMethodSets(), KspCountPropertySets(), KspPinPropertyHandler(), KspQueryBusRelations(), KspValidateConnectRequest(), LdrEnumResources(), LdrProcessRelocationBlock(), LdrProcessRelocationBlockLongLong(), LdrpRunInitializeRoutines(), LdrRelocateImageWithBias(), LoadSetupData(), LockBuffers(), LsaLookupNames(), LsaLookupNames2(), LsaLookupSids(), LsapLookupAccountNames(), LsapLookupBuiltinNames(), LsapLookupFullyQualifiedWellKnownNames(), LsapLookupIsolatedAccountNames(), LsapLookupIsolatedBuiltinNames(), LsapLookupIsolatedNames(), LsapLookupNames(), LsapSplitNames(), LsarLookupNames(), LsarLookupNames2(), LsarLookupNames3(), LsarLookupNames4(), LV_AddItems(), main(), MainWnd_OnUpdateRegistry(), MainWndDropFiles(), MakePattern(), memcmp(), memcpy(), MemFastMoveMemory(), memmove(), memset(), MiBuildPfnDatabaseFromPages(), MiProcessValidPteList(), MiRemoveFromSystemSpace(), MmCommitSessionMappedView(), MmCreateProcessAddressSpace(), MMixerAddMixerControlsToMixerLineByNodeIndexArray(), MMixerAddPinConnection(), MMixerAddPinToPinConnection(), MMixerApplyOutputFilterHack(), MMixerCountMixerControls(), MMixerGetNodeType(), MMixerHandleNodeToNodeConnection(), MMixerInitialize(), MmMdCopyList(), MmMdCountList(), MpsTimerHandler(), NdisCopyFromPacketToPacket(), NdisCopyFromPacketToPacketSafe(), NdisQueryPacket(), NetUserGetLocalGroups(), NICReadDataAlign(), NICWriteDataAlign(), NLS_RecordsCountForDBCSTable(), NLS_RecordsCountForGlyphTable(), NLS_RecordsCountForMBTable(), NLS_RecordsCountForUnicodeTable(), NpCompareAliasNames(), NtCreatePagingFile(), NtfsDiskRead(), NtfsMount(), NtfsRead(), NtGdiExtCreateRegion(), NtGdiExtTextOutW(), NtGdiGetCharABCWidthsW(), NtGdiGetCharWidthW(), NtGdiGetKerningPairs(), NtGdiGetTextExtentExW(), NtGdiGetTextFaceW(), NtGdiPolyPolyDraw(), NtGdiTransformPoints(), NtQueryDirectoryObject(), NtUserBuildPropList(), ObDeassignSecurity(), ObDereferenceObjectEx(), ObDereferenceSecurityDescriptor(), ObFastReferenceObject(), ObFastReplaceObject(), ObpReferenceSecurityDescriptor(), ObReferenceObjectEx(), ObReferenceSecurityDescriptor(), ObSetSecurityDescriptorInfo(), CEditCompatModes::OnButton(), OnSelChange(), OnSet(), otv_u_C_x_Ox(), otv_u_x_y_Ox_sy(), otv_x_Ox(), otv_x_sxy(), otv_x_ux(), otv_x_ux_y_uy_z_uz_p_sp(), PciAllocateCmResourceList(), PciAllocateIoRequirementsList(), PciDebugPrintCmResList(), PciDebugPrintIoResReqList(), PciQueryResources(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PitClock(), PitDecrementCount(), PNP_GetFirstLogConf(), PnpRegMultiSzToUnicodeStrings(), Polygon(), POLYGONFILL_MakeEdgeList(), PortInsB(), PortInsW(), PortOutsB(), PortOutsW(), PreserveRow(), PrintAllVCNs(), PrintHelpMessage(), ProcessHasDescendants(), PxeRead(), CCopyToMenu::QueryContextMenu(), CMoveToMenu::QueryContextMenu(), CRecycleBinItemContextMenu::QueryContextMenu(), QueryHKCRValue(), QueryPerformanceFrequency(), RamDiskLoadVirtualFile(), RamdiskQueryDeviceRelations(), RamDiskRead(), Read8253Timer(), Read8254Timer(), READ_PORT_BUFFER_UCHAR(), READ_PORT_BUFFER_ULONG(), READ_PORT_BUFFER_USHORT(), FxDevice::ReadRegisterBuffer(), REGION_CreateETandAET(), ReleaseReadLock(), RfsdGetFullFileName(), RfsdReadWriteBlocks(), RfsdZeroHoles(), RtlCopyLuidAndAttributesArray(), RtlCopySidAndAttributesArray(), RtlFillMemoryUlong(), RtlImageRvaToSection(), RtlInterlockedPushListSList(), RtlLengthSidAndAttributes(), RtlMultipleAllocateHeap(), RtlMultipleFreeHeap(), RtlpRemoveHeapFromProcessList(), RtlWalkFrameChain(), SaBlob_Create(), SaBlob_CreateFromIp4(), SamLookupIdsInDomain(), SamLookupNamesInDomain(), SampGetMembersInAlias(), SampGetNumberOfAccounts(), SamrLookupIdsInDomain(), SamrLookupNamesInDomain(), SaveFontSubstitutionSettings(), ScServiceDispatcher(), ScsiPortInitialize(), ScsiPortReadPortBufferUchar(), ScsiPortReadPortBufferUlong(), ScsiPortReadPortBufferUshort(), ScsiPortReadRegisterBufferUchar(), ScsiPortReadRegisterBufferUlong(), ScsiPortReadRegisterBufferUshort(), ScsiPortWritePortBufferUchar(), ScsiPortWritePortBufferUlong(), ScsiPortWritePortBufferUshort(), ScsiPortWriteRegisterBufferUchar(), ScsiPortWriteRegisterBufferUlong(), ScsiPortWriteRegisterBufferUshort(), SearchForLegacyDrivers(), SerenumDetectLegacyDevice(), SermouseDetectLegacyDevice(), SetParameters(), shade_vertices(), CNetConnectionPropertyUi::ShowNetworkComponentProperties(), CHString::SpanExcluding(), CHString::SpanIncluding(), SpiParseDeviceInfo(), StartApplication(), StorPortReadPortBufferUchar(), StorPortReadPortBufferUlong(), StorPortReadPortBufferUshort(), StorPortReadRegisterBufferUchar(), StorPortReadRegisterBufferUlong(), StorPortReadRegisterBufferUshort(), StorPortWritePortBufferUchar(), StorPortWritePortBufferUlong(), StorPortWritePortBufferUshort(), StorPortWriteRegisterBufferUchar(), StorPortWriteRegisterBufferUlong(), StorPortWriteRegisterBufferUshort(), strncat(), strncmp(), strncpy(), test_ExpectFolders_imp(), test_pack_RPC_BINDING_VECTOR(), test_pack_UUID_VECTOR(), TestDefaultFormat(), TestHDROP(), TestResourceExclusiveAccess(), TestResourceSharedAccess(), TestResourceUndocumentedShortcuts(), TextIntGetTextExtentPoint(), TuiProcessMenuKeyboardEvent(), UDFIndexDirectory(), UnlockBuffers(), USBCCGP_CountAssociationDescriptors(), USBCCGP_GetAssociationDescriptorAtIndex(), USBCCGP_InitInterfaceListOfFunctionDescriptor(), USBPORT_RH_SetFeatureUSB2PortPower(), VfatWriteFileData(), VfdReinitialize(), VgaInterpretCmdStream(), VideoPortDDCMonitorHelper(), WahInsertHandleContext(), WahReferenceContextByHandle(), wmain(), Write8253Timer(), write_path_data(), WRITE_PORT_BUFFER_UCHAR(), WRITE_PORT_BUFFER_ULONG(), WRITE_PORT_BUFFER_USHORT(), WriteLineSettings(), FxDevice::WriteRegisterBuffer(), XboxGetFramebufferSize(), XboxGetMultibootMemoryMap(), XboxMemGetMemoryMap(), A< T1 >::~A(), and COpenWithMenu::~COpenWithMenu().